package edu.nf.project.services.employeeAndCustomerInformation.impl;

import edu.nf.project.entitys.dto.employeeAndCustomerInformation.CustomerDTO;
import edu.nf.project.mappers.employeeAndCustomerInformation.convention.CustomerDTOMapper;
import edu.nf.project.services.employeeAndCustomerInformation.CustomerDTOService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author CSY
 * @date 2025 - 06 - 11
 */
@Service
public class CustomerDTOServiceImpl implements CustomerDTOService {
    @Autowired
    private CustomerDTOMapper customerDTOMapper;

    @Override
    public CustomerDTO getCustomerByUserId(int uId) {
        return customerDTOMapper.getCustomerByUserId(uId);
    }
}
